package com.neusoft.elmboot.util;

public class CreditConfig {
	
	public static String addCreditByOrder = "ORDER";
    public static String spendCredit = "SPEND";
    public static String outTime = "OUT";
	public static Integer PointsForOneYuan = 30; 
	public static Integer moneyForOneCredit = 3; 
    public static Integer validDays = 60; 

    
    public int calculateCreditByPrice(double price) {
        int credit = (int) (price / moneyForOneCredit);
        return credit;
    }
}
